//
//  LJHCustomBtn.m
//  HEARME
//
//  Created by mac on 16/2/26.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "LJHCustomBtn.h"

@implementation LJHCustomBtn
//重写系统方法设置image在button上的位置
- (CGRect)imageRectForContentRect:( CGRect )contentRect
{
//    CGFloat imageW = contentRect. size . width ;
//    
//    CGFloat imageH = contentRect. size . height*0.9;
    
    return CGRectMake ( 25 , 0 , 28, 48);
    
}
#pragma mark 设置Button内部的title的范围
//重写系统方法设置title在button上的位置
- (CGRect)titleRectForContentRect:( CGRect )contentRect
{
    //    return CGRectMake(0, contentRect.size.height*0.6, contentRect.size.width, contentRect.size.height*0.4);
    return CGRectMake(0, 0, 0, 0);
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
